module.exports = (env, argv) => {

  console.log('\x1B[31m%s\x1B[0m', env.production ? 'production ...' : 'development ...')
  console.log();

  let config = require('./build/webpack.dev.conf.js');

  if (env.production) {
    config = require('./build/webpack.prod.conf.js');
  }

  return config;
}